<?php include show_tpl('public_uheader.htm'); ?>

<div style="width:100%; height:20px; background:#E9ECF3;"></div>

<?php include show_tpl('public_usider.htm'); ?>

<style>
	.index-content{padding:15px;}.index-content .left-border{border-left:0px
	solid #ddd}.index-content>.row>.col-sm-6{border: 1px solid #fff;padding:60px
	25px 50px 35px;min-height:210px;margin-left:-1px;margin-top:-1px}.index-content>.row>.col-sm-6:hover{background:
	#fafafa}.bf{font-size: 4em;color:#349EDC}.bf1{font-size: 1em;color:#999}.bf2{font-size:
	2em;overflow-x:auto;color:#333}.bf2 a{color:#333}
</style>

<div id="page-wrapper" class="gray-bg">

	<div class="row wrapper wrapper-content">
		<div class="row">
			<div class="col-md-12">
				<div class="panel panel-default">
					<div class="panel-heading">
						<div class="panel-title">
							<em class="fa fa-list"></em>
							接入信息
						</div>
					</div>
					<div class="panel-body">
						<div class="content-box">
                    						

                            <div class="index-content">
                                <div class="row">
                                    <div class="col-sm-6">
                                        <div class="col-sm-3">
											<i class="fa fa-user bf"></i>
                                        </div>
                                        <div class="col-sm-8">
                                            <p class="bf1">接入商户号</p>
                                            <p class="bf2"><?php echo $user['apino'];?></p>
                                        </div>
                                    </div>
                                    <div class="col-sm-6 left-border">
                                        <div class="col-sm-3">
											<i class="fa fa-key bf"></i>
                                        </div>
                                        <div class="col-sm-8">
                                            <p class="bf1">接入密钥</p>
                                            <p class="bf2">
                                                <a href="javascript:;" onclick="$('#secret,#secretBg').show()">点击获取</a>
                                            </p>
                                        </div>
                                    </div>
                                    <div class="col-sm-6">
                                        <div class="col-sm-3">
											<i class="fa fa-download bf "></i>
                                        </div>
                                        <div class="col-sm-8">
                                            <p class="bf1">接口说明文档</p>
                                            <p class="bf2">
                                                <a href="upload/download/readme.rar">立即下载</a>
                                            </p>
                                        </div>
                                    </div>
									<div class="col-sm-6 left-border">
                                        <div class="col-sm-3">
											<i class="fa fa-download bf"></i>
                                        </div>
                                        <div class="col-sm-8">
                                            <p class="bf1">PHP对接Demo</p>
                                            <p class="bf2">
                                                <a href="upload/download/demo_php.rar">立即下载</a>
                                            </p>
                                        </div>
                                    </div>
                                </div>
                            </div>
						</div>
					</div>  
				</div>
			</div>
		</div>
	</div>
</div>

<?php include show_tpl('public_ufooter.htm'); ?>

<div id="secretBg" style="display:none;position:fixed;z-index:9999;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,.6)"></div>
<div class="modal-dialog" style="display:none;position:fixed;z-index:10000;top:300px;left:0;right:0;margin:auto;" id="secret">
	<div class="modal-content">
		<div class="modal-header">
			<button type="button" class="close" onclick="$('#secret,#secretBg').hide()"><span aria-hidden="true">×</span></button>
			<h4 class="modal-title">接入密钥</h4>
		</div>
		<div class="modal-body"><div class="alert alert-success" style="font-size:16px"><?php echo $user['apisecret'];?></div>
	</div>
</div>